
import GameRpc from "./GameRpc";

class MessageApi {
    private control: string = 'P700006'

    public async getList(param) {
        return await GameRpc.fetching({
            func: this.control + '.getList',
            ...param
        })
    }

    public async read(idx) {
        return await GameRpc.fetching({
            func: this.control + '.read',
            idx
        })
    }
 
}

export default new MessageApi()


